package cn.HuanG.org.service;

import cn.HuanG.org.domain.Product;
import cn.HuanG.org.query.ProductQuery;
import cn.HuanG.util.PageInfo;

import java.util.List;

/**
 * 员工表接口模块
 */
public interface IProductService {
    void save(Product product);
    void update(Product product);
    void delete(Long id);
    Product queryById(Long id);
    List<Product> queryAll();
    PageInfo<Product> queryPage(ProductQuery productQuery);
    Long count(ProductQuery productQuery);
    List<Product> queryDate(ProductQuery productQuery);
    void batchDel(Long[] ids);

    Product getDetail(Long id);
}
